package com.example.basicdemo.model.domain;

import com.isyscore.os.dev.api.IsyscoreObject;
import com.isyscore.os.dev.api.domain.ApplicationRegisterDomain;

import java.util.List;
import java.util.Map;

/**
 * @Description: java类作用描述
 * @Author:
 * @CreateDate:
 * @UpdateDate:
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class LoginInfoDomain implements IsyscoreObject {

    private String ticket;

    private boolean isOneLogin;

    private String token;

    private String type;

    private String userName;

    private String userId;

    private String nickname;

    private String status;

    private String userType;

    private String loginStatus;

    private String creator;

    private String tenantId;

    private String classify;

    private List<String> role;

    private List<String> roleId;

    private List<String> permission;

    private List<String> app;

    private List<String> rental;

    private Map<String, Object> colKeyVal;

    public String getUserId() {
        return userId;
    }

    public LoginInfoDomain setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    private List<ApplicationRegisterDomain> appInfoList;

    public String getTicket() {
        return ticket;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public boolean isOneLogin() {
        return isOneLogin;
    }

    public void setOneLogin(boolean oneLogin) {
        isOneLogin = oneLogin;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public List<ApplicationRegisterDomain> getAppInfoList() {
        return appInfoList;
    }

    public void setAppInfoList(List<ApplicationRegisterDomain> appInfoList) {
        this.appInfoList = appInfoList;
    }

    public String getNickname() {
        return nickname;
    }

    public LoginInfoDomain setNickname(String nickname) {
        this.nickname = nickname;
        return this;
    }

    public String getStatus() {
        return status;
    }

    public LoginInfoDomain setStatus(String status) {
        this.status = status;
        return this;
    }

    public String getUserType() {
        return userType;
    }

    public LoginInfoDomain setUserType(String userType) {
        this.userType = userType;
        return this;
    }

    public String getLoginStatus() {
        return loginStatus;
    }

    public LoginInfoDomain setLoginStatus(String loginStatus) {
        this.loginStatus = loginStatus;
        return this;
    }

    public String getCreator() {
        return creator;
    }

    public LoginInfoDomain setCreator(String creator) {
        this.creator = creator;
        return this;
    }

    public String getTenantId() {
        return tenantId;
    }

    public LoginInfoDomain setTenantId(String tenantId) {
        this.tenantId = tenantId;
        return this;
    }

    public String getClassify() {
        return classify;
    }

    public LoginInfoDomain setClassify(String classify) {
        this.classify = classify;
        return this;
    }

    public List<String> getRole() {
        return role;
    }

    public LoginInfoDomain setRole(List<String> role) {
        this.role = role;
        return this;
    }

    public List<String> getRoleId() {
        return roleId;
    }

    public LoginInfoDomain setRoleId(List<String> roleId) {
        this.roleId = roleId;
        return this;
    }

    public List<String> getPermission() {
        return permission;
    }

    public LoginInfoDomain setPermission(List<String> permission) {
        this.permission = permission;
        return this;
    }

    public List<String> getApp() {
        return app;
    }

    public LoginInfoDomain setApp(List<String> app) {
        this.app = app;
        return this;
    }

    public List<String> getRental() {
        return rental;
    }

    public LoginInfoDomain setRental(List<String> rental) {
        this.rental = rental;
        return this;
    }

    public Map<String, Object> getColKeyVal() {
        return colKeyVal;
    }

    public LoginInfoDomain setColKeyVal(Map<String, Object> colKeyVal) {
        this.colKeyVal = colKeyVal;
        return this;
    }

    @Override
    public String toString() {
        return "LoginInfoDomain{" +
                "ticket='" + ticket + '\'' +
                ", isOneLogin=" + isOneLogin +
                ", token='" + token + '\'' +
                ", type='" + type + '\'' +
                ", userName='" + userName + '\'' +
                ", userId='" + userId + '\'' +
                ", nickname='" + nickname + '\'' +
                ", status='" + status + '\'' +
                ", userType='" + userType + '\'' +
                ", loginStatus='" + loginStatus + '\'' +
                ", creator='" + creator + '\'' +
                ", tenantId='" + tenantId + '\'' +
                ", classify='" + classify + '\'' +
                ", role=" + role +
                ", roleId=" + roleId +
                ", permission=" + permission +
                ", app=" + app +
                ", rental=" + rental +
                ", colKeyVal=" + colKeyVal +
                ", appInfoList=" + appInfoList +
                '}';
    }
}
